Platform Explorer / Nuxeo Platform 6.0

Component org.nuxeo.ecm.platform.preview.widgets

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.preview.widgets">

  <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
    point="widgettypes">

    <widgetType name="documentPreview">
      <configuration>
        <sinceVersion>6.0</sinceVersion>
        <title>Document Preview</title>
        <description>
          <p>This widget type displays the document preview.</p>
        </description>
        <fields>
          <list>false</list>
          <complex>false</complex>
          <defaultConfiguration>
            <field>data</field>
          </defaultConfiguration>
        </fields>
        <categories>
          <category>configuration_not_ready</category>
        </categories>
      </configuration>
      <handler-class>
        org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
      </handler-class>
      <property name="template">
        /widgets/document_preview_widget.xhtml
      </property>
    </widgetType>

  </extension>

</component>